home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / flute.zip / SAMP_ACT.CPP / SAMP_ACT.RC < prev    next >
Text File  |  1995-04-05  |  8KB  |  239 lines

  1. //Microsoft App Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. #ifdef APSTUDIO_INVOKED
  16. //////////////////////////////////////////////////////////////////////////////
  17. //
  18. // TEXTINCLUDE
  19. //
  20.  
  21. 1 TEXTINCLUDE DISCARDABLE 
  22. BEGIN
  23.     "resource.h\0"
  24. END
  25.  
  26. 2 TEXTINCLUDE DISCARDABLE 
  27. BEGIN
  28.     "#include ""afxres.h""\r\n"
  29.     "\0"
  30. END
  31.  
  32. 3 TEXTINCLUDE DISCARDABLE 
  33. BEGIN
  34.     "#include ""res\\samp_act.rc2""  // non-App Studio edited resources\r\n"
  35.     "\r\n"
  36.     "#include ""afxres.rc""  \011// Standard components\r\n"
  37.     "\0"
  38. END
  39.  
  40. /////////////////////////////////////////////////////////////////////////////////////
  41. #endif    // APSTUDIO_INVOKED
  42.  
  43.  
  44. //////////////////////////////////////////////////////////////////////////////
  45. //
  46. // Icon
  47. //
  48.  
  49. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\\SAMP_ACT.ICO"
  50.  
  51. //////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Menu
  54. //
  55.  
  56. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  57. BEGIN
  58.     POPUP "&File"
  59.     BEGIN
  60.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  61.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  62.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  63.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  64.         MENUITEM SEPARATOR
  65.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  66.         MENUITEM SEPARATOR
  67.         MENUITEM "E&xit",                       ID_APP_EXIT
  68.     END
  69.     POPUP "&Edit"
  70.     BEGIN
  71.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  72.         MENUITEM SEPARATOR
  73.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  74.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  75.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  76.     END
  77.     POPUP "&Help"
  78.     BEGIN
  79.         MENUITEM "&About Samp_act...",          ID_APP_ABOUT
  80.     END
  81. END
  82.  
  83.  
  84. //////////////////////////////////////////////////////////////////////////////
  85. //
  86. // Accelerator
  87. //
  88.  
  89. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  90. BEGIN
  91.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  92.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  93.     "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  94.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  95.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  96.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  97.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  98.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  99.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  100.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  101.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  102.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  103.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  104. END
  105.  
  106.  
  107. //////////////////////////////////////////////////////////////////////////////
  108. //
  109. // Dialog
  110. //
  111.  
  112. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  113. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  114. CAPTION "About Samp_act"
  115. FONT 8, "MS Sans Serif"
  116. BEGIN
  117.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  118.     LTEXT           "Samp_act Application Version 1.0",IDC_STATIC,40,10,119,
  119.                     8
  120.     LTEXT           "Null Program to Illustrate Window Acts",IDC_STATIC,40,
  121.                     25,119,17
  122.     DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  123. END
  124.  
  125.  
  126. //////////////////////////////////////////////////////////////////////////////
  127. //
  128. // String Table
  129. //
  130.  
  131. STRINGTABLE PRELOAD DISCARDABLE 
  132. BEGIN
  133.     IDR_MAINFRAME           "Samp_act Windows Application\nSamp_a\nSamp_a Document\n\n\nSamp_a.Document\nSamp_a Document"
  134.     IDS_DUMMYSTRING2        "//////////////////////////////////////////////////////////////////////////////////////////////////"
  135. END
  136.  
  137. STRINGTABLE PRELOAD DISCARDABLE 
  138. BEGIN
  139.     AFX_IDS_APP_TITLE       "Samp_act Windows Application"
  140.     AFX_IDS_IDLEMESSAGE     "Ready"
  141. END
  142.  
  143. STRINGTABLE DISCARDABLE 
  144. BEGIN
  145.     ID_INDICATOR_EXT        "EXT"
  146.     ID_INDICATOR_CAPS       "CAP"
  147.     ID_INDICATOR_NUM        "NUM"
  148.     ID_INDICATOR_SCRL       "SCRL"
  149.     ID_INDICATOR_OVR        "OVR"
  150.     ID_INDICATOR_REC        "REC"
  151. END
  152.  
  153. STRINGTABLE DISCARDABLE 
  154. BEGIN
  155.     ID_FILE_NEW             "Create a new document"
  156.     ID_FILE_OPEN            "Open an existing document"
  157.     ID_FILE_CLOSE           "Close the active document"
  158.     ID_FILE_SAVE            "Save the active document"
  159.     ID_FILE_SAVE_AS         "Save the active document with a new name"
  160. END
  161.  
  162. STRINGTABLE DISCARDABLE 
  163. BEGIN
  164.     ID_APP_ABOUT            "Display program information, version number and copyright"
  165.     ID_APP_EXIT             "Quit the application; prompts to save documents"
  166. END
  167.  
  168. STRINGTABLE DISCARDABLE 
  169. BEGIN
  170.     ID_FILE_MRU_FILE1       "Open this document"
  171.     ID_FILE_MRU_FILE2       "Open this document"
  172.     ID_FILE_MRU_FILE3       "Open this document"
  173.     ID_FILE_MRU_FILE4       "Open this document"
  174. END
  175.  
  176. STRINGTABLE DISCARDABLE 
  177. BEGIN
  178.     ID_NEXT_PANE            "Switch to the next window pane"
  179.     ID_PREV_PANE            "Switch back to the previous window pane"
  180. END
  181.  
  182. STRINGTABLE DISCARDABLE 
  183. BEGIN
  184.     ID_EDIT_CLEAR           "Erase the selection"
  185.     ID_EDIT_CLEAR_ALL       "Erase everything"
  186.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  187.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  188.     ID_EDIT_FIND            "Find the specified text"
  189.     ID_EDIT_PASTE           "Insert Clipboard contents"
  190.     ID_EDIT_REPEAT          "Repeat the last action"
  191.     ID_EDIT_REPLACE         "Replace specific text with different text"
  192.     ID_EDIT_SELECT_ALL      "Select the entire document"
  193.     ID_EDIT_UNDO            "Undo the last action"
  194.     ID_EDIT_REDO            "Redo the previously undone action"
  195. END
  196.  
  197. STRINGTABLE DISCARDABLE 
  198. BEGIN
  199.     AFX_IDS_SCSIZE          "Change the window size"
  200.     AFX_IDS_SCMOVE          "Change the window position"
  201.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  202.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  203.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  204.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  205.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  206. END
  207.  
  208. STRINGTABLE DISCARDABLE 
  209. BEGIN
  210.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  211.     AFX_IDS_SCTASKLIST      "Activate Task List"
  212. END
  213.  
  214. STRINGTABLE DISCARDABLE 
  215. BEGIN
  216.     IDS_DUMMYSTRING         "The following is a table of window acts, notice that the list ends with an exclamation mark"
  217.     IDS_ACTSTRING1          "SetValues"
  218.     IDS_ACTSTRING2          "SetValues{IntObj, StringObj} - Sets the value of the integer and strings displayed in this window."
  219.     IDS_ACTSTRING3          "GetValues"
  220.     IDS_ACTSTRING4          "Gets the value displayed in this window and returns them as an array: IntObj, StringObj"
  221.     IDS_ACTSTRING5          "!"
  222.     IDS_STRING105           "///////////////////////////////////////////////////////////////////////////////////////////////"
  223.     IDS_PARAMETERERROR      "ERROR in SetValue Window Act : Invalid Parameters."
  224. END
  225.  
  226.  
  227. #ifndef APSTUDIO_INVOKED
  228. ////////////////////////////////////////////////////////////////////////////////
  229. //
  230. // Generated from the TEXTINCLUDE 3 resource.
  231. //
  232. #include "res\samp_act.rc2"  // non-App Studio edited resources
  233.  
  234. #include "afxres.rc"      // Standard components
  235.  
  236. /////////////////////////////////////////////////////////////////////////////////////
  237. #endif    // not APSTUDIO_INVOKED
  238.  
  239.